package com.info.zhiduoduo.admin.model.formbean.marketingcooperative;

import com.info.zhiduoduo.common.validator.IntIn;

import javax.validation.constraints.NotEmpty;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)  //setter return this;
@ToString
public class CompanySwitchMarketingCooperativeFormBean {

	@NotEmpty
	@ApiModelProperty("企业id, 多个用逗号分隔")
	private String compids;

	@IntIn(value = {0,1}, message = "请选择正确的状态")
	@ApiModelProperty("状态 0：关闭 1：开通")
	private int state;
}
